package cn.fintecher.pangolin.service.report.request;

import cn.fintecher.pangolin.common.enums.ReportType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Auther: xiaqun
 * @Description: 报表查询参数
 * @Date: 10:16 2019/12/11
 */

@Data
public class ReportRequest {
    @ApiModelProperty(value = "部门code")
    private String departCode;

    @ApiModelProperty(value = "类型")
    private ReportType type;

    @ApiModelProperty(value = "催收员ID字符串")
    private String userIds;

    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    @ApiModelProperty(value = "委托方ID")
    private String principalId;

    @ApiModelProperty(value = "批次号")
    private String batchNumber;
}